package com.caoji.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caoji.entity.BaseEntity;
import com.caoji.entity.CategoryDto;
import com.caoji.item.entity.Category;
import org.springframework.http.ResponseEntity;

import java.util.List;

/**
 * @Description： User: caoji
 * Date: 2020/12/4
 * Time: 11:39
 */
public interface CategoryService extends IService<Category> {
    CategoryDto findbyid(Long id);

    List<CategoryDto> findbyids(List<Long> ids);

    List<CategoryDto> findbyparent(Long pid);

    List<CategoryDto> findbybandis(Long id);
}